package com.ssy.lingxi.workflow.api.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 流程参数查询接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-04-29
 */
public class ProcessDataQueryVO implements Serializable {
    private static final long serialVersionUID = 7319791726682187044L;

    /**
     * 流程Key
     */
    @NotBlank(message = "ProcessKey不能为空")
    private String processKey;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    /**
     * 流程步骤
     * <p>如果大于0，查询指定步骤的参数</p>
     */
    private Integer taskStep;

    /**
     * 返回状态
     * <p>如果大于0，查询返回此状态值的步骤的参数</p>
     */
    private Integer status;

    public String getProcessKey() {
        return processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getTaskStep() {
        return taskStep;
    }

    public void setTaskStep(Integer taskStep) {
        this.taskStep = taskStep;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
